﻿<%@ Page Language="C#" %>
<%  
    Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
    Response.Cache.SetCacheability(HttpCacheability.NoCache);
    Response.Cache.SetNoStore();
    string cookieName = ConfigurationSettings.AppSettings[HMS.Common.Constants.AUTHENTICATION_COOKIE_KEY].ToUpper();
    if (Request.Cookies[cookieName] != null)
    {
        HttpCookie myCookie = new HttpCookie(cookieName);
        myCookie.Expires = DateTime.Now.AddDays(-1d);
        Response.Cookies.Add(myCookie);
    }
    Session.Abandon();
    Response.Redirect("Login.aspx");
%>

